package com.lanxin.zc.service;

import com.github.pagehelper.Page;
import com.lanxin.bx.vo.AllinformalVo;
import com.lanxin.zc.entity.ZcAssetpurchaseapply;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lanxin.zc.vo.AllzcassetpurchaseapplyVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 
 * @since 2025-07-16
 */
public interface IZcAssetpurchaseapplyService extends IService<ZcAssetpurchaseapply> {

    //根据部门获取待审批申请单
    public List<ZcAssetpurchaseapply> getAssetpurchaseappliesByDept(Integer deptId);

    //根据部门获取所有资产购买申请单
    public List<ZcAssetpurchaseapply> listAssetpurchaseappliesByDept(Integer deptId);

    //修改资产购买的申请状态
    public int updateAssetPurchaseStatus(Integer oid, String status);

    Page<AllzcassetpurchaseapplyVo> selectzcassetpurchList(
            Integer page,
            Integer pageSize,
            String docNo,
            String empName,
            String submitDate,
            String status
    );

    Page<AllzcassetpurchaseapplyVo> selectmyzcassetpurchList(
             Integer page,
             Integer pageSize,
             String docNo,
             String submitDate,
             String status,
             Integer proposer
    );
}
